package com.qidian.mes.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @Author 任超
 * Time 2024/10/21 11:41
 */
public class ToolLedger {
    private Long toolLedgerId;
    private String toolLedgerCode;
    private String toolLedgerName;
    private String toolLedgerType;
    private String toolLedgerBrand;
    private String toolLedgerSpec;
    private int toolInventoryNum;
    private int toolAvailableNum;
    private String maintainType;
    private String serviceInterval;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date maintainDate;
    private int toolLedgerStatus;
    private String toolTypeNotes;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date modifyTime;

    private Long toolTypeId;

    private ToolType toolType;

    public Long getToolTypeId() {
        return toolTypeId;
    }

    public void setToolTypeId(Long toolTypeId) {
        this.toolTypeId = toolTypeId;
    }

    public ToolType getToolType() {
        return toolType;
    }

    public void setToolType(ToolType toolType) {
        this.toolType = toolType;
    }

    public String getToolLedgerType() {
        return toolLedgerType;
    }

    public void setToolLedgerType(String toolLedgerType) {
        this.toolLedgerType = toolLedgerType;
    }

    public Long getToolLedgerId() {
        return toolLedgerId;
    }

    public void setToolLedgerId(Long toolLedgerId) {
        this.toolLedgerId = toolLedgerId;
    }

    public String getToolLedgerCode() {
        return toolLedgerCode;
    }

    public void setToolLedgerCode(String toolLedgerCode) {
        this.toolLedgerCode = toolLedgerCode;
    }

    public String getToolLedgerName() {
        return toolLedgerName;
    }

    public void setToolLedgerName(String toolLedgerName) {
        this.toolLedgerName = toolLedgerName;
    }

    public String getToolLedgerBrand() {
        return toolLedgerBrand;
    }

    public void setToolLedgerBrand(String toolLedgerBrand) {
        this.toolLedgerBrand = toolLedgerBrand;
    }

    public String getToolLedgerSpec() {
        return toolLedgerSpec;
    }

    public void setToolLedgerSpec(String toolLedgerSpec) {
        this.toolLedgerSpec = toolLedgerSpec;
    }

    public int getToolInventoryNum() {
        return toolInventoryNum;
    }

    public void setToolInventoryNum(int toolInventoryNum) {
        this.toolInventoryNum = toolInventoryNum;
    }

    public int getToolAvailableNum() {
        return toolAvailableNum;
    }

    public void setToolAvailableNum(int toolAvailableNum) {
        this.toolAvailableNum = toolAvailableNum;
    }

    public String getMaintainType() {
        return maintainType;
    }

    public void setMaintainType(String maintainType) {
        this.maintainType = maintainType;
    }

    public String getServiceInterval() {
        return serviceInterval;
    }

    public void setServiceInterval(String serviceInterval) {
        this.serviceInterval = serviceInterval;
    }

    public Date getMaintainDate() {
        return maintainDate;
    }

    public void setMaintainDate(Date maintainDate) {
        this.maintainDate = maintainDate;
    }

    public int getToolLedgerStatus() {
        return toolLedgerStatus;
    }

    public void setToolLedgerStatus(int toolLedgerStatus) {
        this.toolLedgerStatus = toolLedgerStatus;
    }

    public String getToolTypeNotes() {
        return toolTypeNotes;
    }

    public void setToolTypeNotes(String toolTypeNotes) {
        this.toolTypeNotes = toolTypeNotes;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }
}
